import request from "@/utils/request";
import { UserQuery, UserVO } from "@/api/system/user/types";
import { AxiosPromise } from "axios";

export const userCount = (query?: any) => {
  return request({
    url: "/system/user/count",
    method: "get",
    params: query
  });
};
export const onlineCount = () => {
  return request({
    url: "/monitor/online/count",
    method: "get"
  });
};
